.class Lcom/zuimeia/ui/tag/TagListView$1;
.super Ljava/lang/Object;
.source "TagListView.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/ui/tag/TagListView;->inflateTagView(Lcom/zuimeia/ui/tag/TagModel;ZI)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/ui/tag/TagListView;

.field final synthetic val$tag:Lcom/zuimeia/ui/tag/TagModel;

.field final synthetic val$tagView:Landroid/widget/TextView;


# direct methods
.method constructor <init>(Lcom/zuimeia/ui/tag/TagListView;Lcom/zuimeia/ui/tag/TagModel;Landroid/widget/TextView;)V
    .registers 4
    .param p1, "this$0"    # Lcom/zuimeia/ui/tag/TagListView;

    .prologue
    .line 104
    iput-object p1, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    iput-object p2, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tag:Lcom/zuimeia/ui/tag/TagModel;

    iput-object p3, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tagView:Landroid/widget/TextView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 5
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 108
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tag:Lcom/zuimeia/ui/tag/TagModel;

    iget-boolean v0, v0, Lcom/zuimeia/ui/tag/TagModel;->canDeleted:Z

    if-eqz v0, :cond_2a

    .line 109
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    iget-object v1, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tag:Lcom/zuimeia/ui/tag/TagModel;

    invoke-virtual {v0, v1}, Lcom/zuimeia/ui/tag/TagListView;->removeTag(Lcom/zuimeia/ui/tag/TagModel;)V

    .line 110
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    # getter for: Lcom/zuimeia/ui/tag/TagListView;->onTagLayoutChangeListener:Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/TagListView;->access$000(Lcom/zuimeia/ui/tag/TagListView;)Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;

    move-result-object v0

    if-eqz v0, :cond_29

    .line 111
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    # getter for: Lcom/zuimeia/ui/tag/TagListView;->onTagLayoutChangeListener:Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/TagListView;->access$000(Lcom/zuimeia/ui/tag/TagListView;)Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;

    move-result-object v0

    invoke-interface {v0}, Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;->onChange()V

    .line 112
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    # getter for: Lcom/zuimeia/ui/tag/TagListView;->onTagLayoutChangeListener:Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/TagListView;->access$000(Lcom/zuimeia/ui/tag/TagListView;)Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;

    move-result-object v0

    iget-object v1, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tag:Lcom/zuimeia/ui/tag/TagModel;

    invoke-interface {v0, v1}, Lcom/zuimeia/ui/tag/TagListView$OnTagLayoutChangeListener;->onDelete(Lcom/zuimeia/ui/tag/TagModel;)V

    .line 124
    :cond_29
    :goto_29
    return-void

    .line 116
    :cond_2a
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tagView:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->isSelected()Z

    move-result v0

    if-eqz v0, :cond_4e

    .line 117
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tagView:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    .line 121
    :goto_38
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    # getter for: Lcom/zuimeia/ui/tag/TagListView;->mOnTagClickListener:Lcom/zuimeia/ui/tag/TagListView$OnTagClickListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/TagListView;->access$100(Lcom/zuimeia/ui/tag/TagListView;)Lcom/zuimeia/ui/tag/TagListView$OnTagClickListener;

    move-result-object v0

    if-eqz v0, :cond_29

    .line 122
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->this$0:Lcom/zuimeia/ui/tag/TagListView;

    # getter for: Lcom/zuimeia/ui/tag/TagListView;->mOnTagClickListener:Lcom/zuimeia/ui/tag/TagListView$OnTagClickListener;
    invoke-static {v0}, Lcom/zuimeia/ui/tag/TagListView;->access$100(Lcom/zuimeia/ui/tag/TagListView;)Lcom/zuimeia/ui/tag/TagListView$OnTagClickListener;

    move-result-object v0

    iget-object v1, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tagView:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tag:Lcom/zuimeia/ui/tag/TagModel;

    invoke-interface {v0, v1, v2}, Lcom/zuimeia/ui/tag/TagListView$OnTagClickListener;->onTagClick(Landroid/view/View;Lcom/zuimeia/ui/tag/TagModel;)V

    goto :goto_29

    .line 119
    :cond_4e
    iget-object v0, p0, Lcom/zuimeia/ui/tag/TagListView$1;->val$tagView:Landroid/widget/TextView;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    goto :goto_38
.end method
